package descentFly.app
{
	import UIFree.uif_component;
	
	import descentFly.app.managePanel.df_miniHelp;
	import descentFly.app.managePanel.df_playerInfo;
	import descentFly.app.radar.df_radarMonitor;
	import descentFly.app.sight.df_sight;
	
	import flash.events.Event;
	import flash.geom.Rectangle;
	
	public class df_miniInterface extends df_baseInterface {
		public function df_miniInterface(parent: uif_component, rect: Rectangle) {
			super(parent, rect.x, rect.y, rect.width, rect.height);
			rect = getInner();
			var bar		: df_topTollbar = new df_topTollbar(sceneComponents);
			rect.inflate(-5, -5);
			
			new df_radarMonitor(sceneComponents, new Rectangle(rect.x, rect.y + bar.height, 100, 100), '');
			new df_playerInfo(sceneComponents, new Rectangle(rect.x, rect.y + rect.height - 90, 260, 90));
			new df_miniHelp(sceneComponents, rect.x + rect.width - df_miniHelp.SIZE.x, rect.y + rect.height - df_miniHelp.SIZE.y);
			new df_sight(sceneComponents);
		}
	}
}